<% if !step_edit.nil? %>
  <li id="list_<%= step_edit.id %>" class="sort-it"><%= image_tag step_edit.link.thumbnail, :alt => "Link to #{step_edit.title}" %>
    <br /><%= text_field('paths', 'title_' + step_edit.id.to_s, {:value => step_edit.title, :size => 29}) %>
    <br /><%= link_to_function("delete", "if (confirm('Do you really want to delete this step?')) DeleteStep('#{step_edit.id}')") %>
    <p style="display: none"><%= step_edit.id %></p>
  </li>
<% end %>